<!DOCTYPE HTML>
<html>
    <head>
        <title>Example</title>
    </head>
    <body>
        <script type="text/javascript">
        
            var firstVal = "5";
            var secondVal = "5";
            
            var result = Number(firstVal) + Number(secondVal);
    
            document.writeln("Result: " + result);
        </script>        
    </body>
</html>
